<?php
/**
 * The sidebar containing the main widget area.
 *
 * If no active widgets in sidebar, let's hide it completely.
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */
?>
    
	<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
		<div id="secondary" class="widget-area" role="complementary">

			<h3 class="widget-title space-bottom">Gardez le contact</h1>
			<a href="https://www.facebook.com/pages/Y-Project/381460615282040" target="_blank" class="space-sides"><img src="<?php echo get_template_directory_uri(); ?>/img/facebook.png" border="0" /></a>
			<a href="https://twitter.com/yproject_co" target="_blank" class="space-sides"><img src="<?php echo get_template_directory_uri(); ?>/img/twitter.png" border="0" /></a>
			<a href="<?php bloginfo('rss2_url'); ?>" target="_blank" class="space-sides"><img src="<?php echo get_template_directory_uri(); ?>/img/rss.jpg" border="0" /></a>
			<br /><br /><br />
			
			<?php dynamic_sidebar( 'sidebar-1' ); ?>
			
			<div class="align-center"><a href="http://www.1and1.fr/details-green-energy?__lf=Static&linkOrigin=&linkId=ft.img.greenwebhosting" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/img/1and1_greenhosting.png" width="50%" height="50%" /></a></div>
			
			<div class="align-center"><script type="text/javascript" src="//s3.amazonaws.com/opportunityco/proud/proud.js"></script><script>COBadge.aff="mj8vw7";COBadge.show();</script></div>
		</div><!-- #secondary -->
	<?php endif; ?>